#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>

int main(){

printf("Ready to execute a shell command !\n");
char* thePath = "/home/aureliangel/Documents/programs";
thePath = "/home/jtravolta/Documents/programs";
char buffer[100];

sprintf(buffer, "ls -l %s", thePath);

system(buffer);
printf("\n");
return 0;
}
